From e43956141baaff4448c89c180e2dc7aa1a1e6d63 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 15 Mar 2013 23:31:05 -0400 Subject: [PATCH] Add another grid sizing reftest This test exercises spanning children such that there are rows which contain only spanning cells. --- tests/reftests/grid-span.css | 15 ++++ tests/reftests/grid-span.ref.ui | 134 ++++++++++++++++++++++++++++++++ tests/reftests/grid-span.ui | 74 ++++++++++++++++++ 3 files changed, 223 insertions(+) create mode 100644 tests/reftests/grid-span.css create mode 100644 tests/reftests/grid-span.ref.ui create mode 100644 tests/reftests/grid-span.ui diff --git a/tests/reftests/grid-span.css b/tests/reftests/grid-span.css new file mode 100644 index 0000000000..8d9777f83b --- /dev/null +++ b/tests/reftests/grid-span.css @@ -0,0 +1,15 @@ +#red { + background-color: red; +} + +#green { + background-color: green; +} + +#blue { + background-color: blue; +} + +#yellow { + background-color: yellow; +} diff --git a/tests/reftests/grid-span.ref.ui b/tests/reftests/grid-span.ref.ui new file mode 100644 index 0000000000..3aabdf30ff --- /dev/null +++ b/tests/reftests/grid-span.ref.ui @@ -0,0 +1,134 @@ + + + + + popup + False + + + True + False + + + red + 20 + 20 + True + False + + + 0 + 0 + 1 + 1 + + + + + red + 20 + 20 + True + False + + + 1 + 0 + 1 + 1 + + + + + green + 20 + 20 + True + False + + + 2 + 0 + 1 + 1 + + + + + green + 20 + 20 + True + False + + + 2 + 1 + 1 + 1 + + + + + blue + 20 + 20 + True + False + + + 1 + 2 + 1 + 1 + + + + + blue + 20 + 20 + True + False + + + 2 + 2 + 1 + 1 + + + + + yellow + 20 + 20 + True + False + + + 0 + 1 + 1 + 1 + + + + + yellow + 20 + 20 + True + False + + + 0 + 2 + 1 + 1 + + + + + + diff --git a/tests/reftests/grid-span.ui b/tests/reftests/grid-span.ui new file mode 100644 index 0000000000..732f9c5f42 --- /dev/null +++ b/tests/reftests/grid-span.ui @@ -0,0 +1,74 @@ + + + + + popup + False + + + True + False + + + red + 40 + 20 + True + False + + + 0 + 0 + 2 + 1 + + + + + green + 20 + 40 + True + False + + + 2 + 0 + 1 + 2 + + + + + blue + 40 + 20 + True + False + + + 1 + 2 + 2 + 1 + + + + + yellow + 20 + 40 + True + False + + + 0 + 1 + 1 + 2 + + + + + + -- 2.30.2